<div class="ms_container {{class}}" ng-click="clickIn()" ng-mouseleave="mouseleave()">
    <input ng-model="MsModel.text" readonly="readonly" value="{{MsModel.text}}" name="mstxt_{{name}}" id="mstxt_{{iid}}" placeholder="{{readonly?'':placeholder}}" ng-disabled="disabled">
    <input ng-model="selVal" value="{{MsModel.val}}" type="hidden" name="{{name}}" id="{{iid}}">

    <span class="caret"></span>
 
    <div ng-show="optionShow" class="optionShow" ng-mouseover="optionShow = true;">
        <ul class="ms_options">
	        <li class="noselect"><input ng-model="searchKey" class="search" ng-change="change();" ng-keydown="searchPress($event)" ng-click="clickSearchInput($event);" placeholder="{{searchplaceholder?searchplaceholder:'输入查询...'}}"></li>
	        <li ng-repeat="option in options " ng-click="selected(option)" ng-class="{'on':optionAct==$index}">
	                <div ng-bind-html="option.text |highlight:searchKey"></div></li>
 			<li><div class="extra-list-ctn"><a target="_blank" href="{{addurl}}" class="optionsAdd" ng-show="nullOptions">{{addtip}}</a></div></li>
 			
        </ul>

    </div>
</div>